package com.yule.system.dao;

import com.yule.system.model.CorpInfo;
import com.yule.system.model.CorpInfoExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
public interface CorpInfoDao {
    long countByExample(CorpInfoExample example);

    int deleteByExample(CorpInfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CorpInfo record);

    int insertSelective(CorpInfo record);

    List<CorpInfo> selectByExample(CorpInfoExample example);

    CorpInfo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CorpInfo record, @Param("example") CorpInfoExample example);

    int updateByExample(@Param("record") CorpInfo record, @Param("example") CorpInfoExample example);

    int updateByPrimaryKeySelective(CorpInfo record);

    int updateByPrimaryKey(CorpInfo record);
}